uniform sampler2D tex;

void main()
{
vec2 texCoords =gl_TexCoord[0].st;
vec4 color = texture2D(tex,gl_TexCoord[0].st);
texCoords.s-=0.04;
texCoords.t-=0.04;

vec4 offsetColor = texture2D(tex,texCoords.st);
gl_FragColor=vec4(0.3 ,0.3 ,0.3 ,offsetColor.a*1.0);
gl_FragColor+=gl_Color * vec4(color.a, color.a, color.a, color.a);
}


